const webpackConfigProduction = require("./webpack.config.prod");

module.exports = {
    ...webpackConfigProduction,


    //服务器配置
    devServer: {
        port: 9999,
        open: true,
        compress: true,
        liveReload: true,
        historyApiFallback: true,
        proxy: {
            "/api1": {
                target: "http://127.0.0.1:9999",
                pathRewrite: {
                    "^/api1": ""
                }
            }
        }    
    },
    


    //模式  开发模式
    mode: "development"
}


